package vip.xiaonuo.smzq.modular.kcl.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import vip.xiaonuo.smzq.modular.kcl.entity.Sjyj;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.smzq.modular.kcl.entity.vo.EarlyWarningTypeCount;

import javax.servlet.http.HttpServletResponse;

/**
 * 矿山数据预警 服务类
 *
 * @author sqq
 * @since 2024-06-04
 */
public interface ISjyjService extends IService<Sjyj> {

    Page<Sjyj> page(Sjyj sjyj);

    Page<Sjyj> page(long current, long size, Integer nd, String xzqh, Integer sjyjlxbm,Integer djflbh,String kqbh);

    void reservesDataEarlywarning(String kqbh, Integer nd, Integer djflbh);

    EarlyWarningTypeCount getEarlyWarningTypeCount(Integer nd, String xzqh, Integer sjyjlxbm, Integer djflbh, String kqbh);

    void delectSjyj(Integer nd, Integer djflbm, String kqbh,Integer sjyjlxbm);

    void addSjyj(Integer nd, Integer djflbm, String kqbh, int i);

    void synchronousMessageAlert(Integer nd);

    void exportKsyj(Integer nd, String xzqh, Integer sjyjlxbm,Integer djflbh,String kqbh, HttpServletResponse response);
}
